package com.sophie.service;

import com.sophie.entity.User;
import com.sophie.util.ResultVO;

/**
 * @Author: Rowena
 * @CreateTime: 2024-08-30 08:40:57
 * @Version: 1.0
 */
public interface IUserService {
    ResultVO register(User user);
    ResultVO login(String username, String password);
    ResultVO checkUserName(String username);
    ResultVO getUserList();
    ResultVO getUserById(int id);
    ResultVO updateUser(User user);
}
